export {};
function consoleLog(param: string | number) {
  if (typeof param === "string") {
    console.log(`string: ${param}`);
  } else if (typeof param === "number") {
    console.log(`number: ${param}`);
  } else {
    console.log(`never: ${param}`);
  }
}

consoleLog("hello");
consoleLog(123);

const person = {
  id: 1,
  name: "jack",
  address: {
    city: "杭州",
    province: "浙江",
  },
} as const;
